import { combineReducers } from 'redux';
import { TAssigneeUserInfo, TJobListItem, TUserInfo } from '../../types';
import assigneeUserInfoReaducer from './assgineeUserInfo';
import JobListReaducer from './jobListInfo';
import userInfoReaducer from './userInfo';

export default combineReducers({
  jobList: JobListReaducer,
  userInfo: userInfoReaducer,
  assigneeUserInfo: assigneeUserInfoReaducer
});

export type TStateType = {
  jobList: TJobListItem[];
  userInfo: TUserInfo;
  assigneeUserInfo: TAssigneeUserInfo;
};
